﻿@model Icoders.MarketTracker.Core.Repository.MasterDataRepositories.UserRepositories.UserGroupPlaceHolder

@{
    ViewBag.Title = "Assign";
}

<h2>Assign</h2>

@using(Html.BeginForm())
{
    @Html.ValidationSummary(true)
      <fieldset>
      <legend>Assign System Roles</legend>
      <h3>Group Name : @Model.GroupName</h3>
      <input type="hidden" name="groupId" value="@Model.GroupId" />
      <table width="650px">
      @foreach (var item in Model.Rows)
      {
          <tr><td><input type="checkbox" name="cb" @item.Checked value="@item.Value" />@item.RoleName</td></tr>
      }
      </table>
      </fieldset>   
    <input type="submit" value="Save" />
                            
}

